package relation

import (
	"dy/internal/api/service"
	"dy/internal/api/store"
)

type ControllerRelation struct {
	srv   service.Service
	store store.Factory
}

func NewRelationController(store store.Factory) *ControllerRelation {
	return &ControllerRelation{
		srv:   service.NewService(store),
		store: store,
	}
}
